package cn.wzx.mapper;

import cn.wzx.entity.Hot;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface HotMapper {
    public void addHot(Hot hot);
    public void delete(Integer id);
    public List<Hot> findAll();
    public List<Hot> findByType(@Param("type") int type, @Param("num") int num);
}
